import request from '@/utils/request'

// 查询单证车辆列表
export function listBillsIccard(query) {
  return request({
    url: '/kmwlpts/billsIccard/list',
    method: 'get',
    params: query
  })
}

// 查询单证车辆详细
export function getBillsIccard(id) {
  return request({
    url: '/kmwlpts/billsIccard/' + id,
    method: 'get'
  })
}

// 新增单证车辆
export function addBillsIccard(data) {
  return request({
    url: '/kmwlpts/billsIccard',
    method: 'post',
    data: data
  })
}

// 修改单证车辆
export function updateBillsIccard(data) {
  return request({
    url: '/kmwlpts/billsIccard',
    method: 'put',
    data: data
  })
}

// 删除单证车辆
export function delBillsIccard(id) {
  return request({
    url: '/kmwlpts/billsIccard/' + id,
    method: 'delete'
  })
}

// 导出单证车辆
export function exportBillsIccard(query) {
  return request({
    url: '/kmwlpts/billsIccard/export',
    method: 'get',
    params: query
  })
}